package com.myappengine.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.myappengine.dao.ClassDAO;
import com.myappengine.model.Clazz;

@Service
public class ClassService {
	
	@Autowired
	private ClassDAO classDAO;
	
	public Clazz persistClass(Clazz clazz) {
		return classDAO.persistClass(clazz);
	}
	
	public void updateClass(Clazz clazz) {
		classDAO.updateClass(clazz);
	}
}
